<?php
/*
 * 1626cms 職位介紹
 * ============================================================================
 * 版權所有: 1626網絡，并保留所有權利。
 * 網站地址: http://www.1626.com；
 * ----------------------------------------------------------------------------
 * 這不是一個自由軟件！您只能在不用于商業目的的前提下對程序代碼進行修改和
 * 使用；不允許對程序代碼以任何形式任何目的的再發布。
 * ============================================================================
 */
define('IN_QISHI', true);
$page_select="jobs";
require_once('./include/common.inc.php');
if($cacheperiod['jobs_show']>0){
	$smarty->caching =true;
	$smarty->cache_lifetime = $cacheperiod['jobs_show'];
}else{
	$smarty->caching = false;
}
$dir_num=intval($_GET['id'])%30;
$qs_cached_dir="jobsshow|".$dir_num."|".($dir_num%31)."|".$_GET['id'];
if(!$smarty->is_cached('jobs-show.htm',$qs_cached_dir))
{
	require_once(QISHI_ROOT_PATH.'include/mysql.class.php');
	$db = new mysql($dbhost,$dbuser,$dbpass,$dbname);
	unset($dbhost,$dbuser,$dbpass,$dbname);
	require_once(QISHI_ROOT_PATH.'include/fun_category.php');
	require_once(QISHI_ROOT_PATH.'include/fun_jobs.php');
}
//用於職位比較
$jobarr=$_SESSION['hkjob'];
$smarty->assign('geturl','jobs-compare.php');
$smarty->assign('jobarr',$jobarr);
$smarty->display('jobs-show.htm',$qs_cached_dir);
?>
